// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

Vue.config.productionTip = false

import VueSocketio from 'vue-socket.io';
Vue.use(VueSocketio, process.env.SOCKET_URL);
/* eslint-disable no-new */

Object.defineProperty(Vue.prototype, 'UPLOAD_URL', {value: process.env.UPLOAD_URL});
Object.defineProperty(Vue.prototype, 'BASE_URL', {value: process.env.BASE_URL});
Object.defineProperty(Vue.prototype, 'APPID', {value: process.env.APPID});


new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
